package com.yue.design.decorator;

public class PanCakeDecorator extends PanCake{
    private PanCake panCake;
    public PanCakeDecorator(PanCake panCake){
        this.panCake = panCake;
    }
    @Override
    String getMsg() {
        return panCake.getMsg();
    }

    @Override
    int getPrice() {
        return panCake.getPrice();
    }
}
